package com.shopping.service;

import com.shopping.common.ServerResponse;
import com.shopping.pojo.Category;

import java.util.List;

public interface ICategoryService {
    ServerResponse addCategory(String categoryName, Integer parentId);
    ServerResponse updateCategoryName(Integer categoryId ,String categoryNam);
    ServerResponse<List<Category>> getChildrenParallelCategory(Integer categorId);
    ServerResponse<List<Integer>> selectCategoryAndChildrenById(Integer categoryId);
}
